package com.ztmg.water.service.student;

import com.ztmg.water.model.student.Student;
import com.ztmg.water.vo.student.StudentVO;
import com.ztmg.water.dto.student.StudentDTO;
import com.ztmg.water.dto.student.StudentPageDTO;
import com.ztmg.common.util.resultUtils.JsonResult;
import com.github.pagehelper.PageInfo;

import java.util.Map;

public interface StudentService{

		JsonResult create(StudentDTO dto);
		JsonResult update(StudentDTO dto);
		JsonResult<StudentVO> selectById(Integer id);
		JsonResult<StudentVO> select(StudentDTO dto);
		JsonResult<PageInfo<StudentVO>> selectPage(StudentPageDTO dto);
		JsonResult deleteById(Integer id);
		JsonResult delete(StudentDTO dto);
		JsonResult selectStudentNumsByParams(StudentPageDTO dto);
}